import Vue from 'vue'
import Vuex from 'vuex'
// 导入购物车的vuex模块
import cart from './cart.js'
import user from './user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    'm_cart': cart,
    'm_user': user
  },
})

export default store
